package com.wangan.wanganpush.dao;

import com.wangan.wanganpush.model.Chat;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface ChatDao extends JpaRepository<Chat,Integer> {

    List<Chat> findAllByFlag(int flag);
}
